<?php
echo $html->css('fd-datepicker');
echo $javascript->link('datepicker.js');
echo "<h2 id='contentTitle'>".$pageTitle."</h2>";
echo $this->renderElement('message');

echo $form->create('Album', array('action' => 'add', 'type' => 'file'));

echo $form->input('titulo');
//echo $form->input('data');
echo $form->label('Album.data','Data');
echo $input->date('Album','data',null);
echo $form->label('Descrição');
echo $form->textarea('descricao')."<br/>";
echo $form->submit('Criar álbum');

echo $form->end();

echo '<p>';
$listButton = "<span class=\"buttonList\">Listar álbuns</span>"; 
echo html_entity_decode($html->link($listButton, '/webs/albuns',array('class'=>'button')));
echo '</p>';

echo $form->end();
